﻿<?xml version="1.0" encoding="utf-8"?>
<List xmlns:ows="Microsoft SharePoint" Title="KWS Bookings" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/KWSBookings" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
  <MetaData>
    <ContentTypes>
      <ContentType ID="0x01" Name="Item" Group="List Content Types" Description="Create a new list item.">
        <Folder TargetName="Item" />
        <FieldRefs>
          <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title"/>
          <FieldRef ID="{799d6c2f-e5f6-4a91-ba6b-0ee64795334e}" Name="KWSBookingOwner"/>
          <FieldRef ID="{092e7873-4c8e-4e23-bacb-2f275ca046c3}" Name="KWSBookingFrom"/>
          <FieldRef ID="{7df68b8b-e525-4e39-bf3c-394c120aeb09}" Name="KWSBookingTo"/>
          <FieldRef ID="{7df68b8b-e525-4e39-bf3c-394c120aeb10}" Name="KWSBookingSummary"/>
        </FieldRefs>
      </ContentType>
      <!--</ContentType>
        <ContentTypeRef ID="0x01">        
        <Folder TargetName="Item" />        
      </ContentTypeRef>
      <ContentTypeRef ID="0x0120" />-->       
    </ContentTypes>
    <Fields>
      <Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Type="Text" Name="Title" DisplayName="Resource" Sealed="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Title"></Field>
      <Field ID="{799d6c2f-e5f6-4a91-ba6b-0ee64795334e}" Type="User" Name="KWSBookingOwner" Required="TRUE" DisplayName="Owner" StaticName="KWSBookingOwner" UserSelectionMode="0"/>
      <Field ID="{092e7873-4c8e-4e23-bacb-2f275ca046c3}" Type="DateTime" Name="KWSBookingFrom" Required="TRUE" DisplayName="From" StaticName="KWSBookingFrom" Format="DateTime">
        <Default>[today]</Default>
      </Field>
      <Field ID="{7df68b8b-e525-4e39-bf3c-394c120aeb09}" Type="DateTime" Name="KWSBookingTo" Required="TRUE" DisplayName="To" StaticName="KWSBookingTo" Format="DateTime">
        <Default>[today]</Default>
      </Field>
      <Field ID="{7df68b8b-e525-4e39-bf3c-394c120aeb10}" Type="Text" Name="KWSBookingSummary" Required="FALSE" DisplayName="Summary" StaticName="KWSBookingSummary"/>
    </Fields>
    <Views>
      <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitleNoMenu"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
        </ParameterBindings>
      </View>
      <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="Attachments"></FieldRef>
          <FieldRef Name="LinkTitle"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="ID"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
      </View>
    </Views>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
  </MetaData>
</List>